package com.sinothk.hussars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sinothk.hussars.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 小程序用户表
 * </p>
 *
 * @author liangyt
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tab_wx_user")
@ApiModel(value="WxUserEntity对象", description="小程序用户表")
public class WxUserEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "微信OpenId")
    private String openid;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "注册时间")
    private Date createDate;


}
